package com.lhoverc.service.visitor.impl;

import com.lhoverc.mapper.VisitorMapper;
import com.lhoverc.pojo.entity.VisitorEntity;
import com.lhoverc.service.visitor.VisitorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: LiCheng
 * @CreateTime: 2025-04-14
 * @Description:
 * @Version: 1.0
 */
@Service
public class VisitorServiceImpl implements VisitorService {

    @Autowired
    private VisitorMapper visitorMapper;

    @Override
    public void addVisitor(VisitorEntity visitor) {
        visitorMapper.insertVisitor(visitor);
    }
}
